package com.motu.monstercity.server.gate;

import io.vertx.core.Vertx;
import io.vertx.core.http.ServerWebSocket;

public class MessageInfo {

    private Vertx vertx;
    private long userId;
    private int cmdCode;
    private byte[] pbdata;
    private int language;
    private int messageId;
    private ServerWebSocket socketInfo;

    public MessageInfo(Vertx vertx, long userId, int cmdCode, byte[] pbdata, int language, int messageId, ServerWebSocket socketInfo) {
        this.vertx = vertx;
        this.userId = userId;
        this.cmdCode = cmdCode;
        this.pbdata = pbdata;
        this.language = language;
        this.socketInfo = socketInfo;
        this.messageId = messageId;
    }

    public Vertx getVertx() {
        return vertx;
    }

    public long getUserId() {
        return userId;
    }

    public int getCmdCode() {
        return cmdCode;
    }

    public byte[] getPbdata() {
        return pbdata;
    }

    public int getLanguage() {
        return language;
    }

    public int getMessageId() {
        return messageId;
    }

    public ServerWebSocket getSocketInfo() {
        return socketInfo;
    }
}
